cmake_minimum_required(VERSION 3.10)
project(BMPImage)

set(CMAKE_CXX_STANDARD 11)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ..)	#这一句指定可执行文件的位置

add_executable(BMPImage main.cpp BMPImage.cpp BMPImage.h)